package com.ibeeking.found.org.service.common.param;

import com.ibeeking.nematos.utils.base.BaseValidationGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName MemberInfoFieldParam
 * @Description
 * @Author ibeeking
 * @Date 2022-01-24 11:39
 **/
@Data
public class EmployeeExtendFieldParam implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @NotNull(message = "员工Id不能为空!", groups = {BaseValidationGroup.Update.class})
    private Long employeeId;

    /**
     * 扩展信息-code
     */
    @NotBlank(message = "会员扩展信息Code不能为空!", groups = {BaseValidationGroup.Update.class})
    private String code;

    /**
     * 扩展信息-value
     */
    @NotNull(message = "会员扩展信息Value值不能为空!", groups = {BaseValidationGroup.Update.class})
    private Object value;
}
